package com.ys.web.service;

import java.util.List;

import com.ys.web.entity.PromotionUnit;

/**
 * 推广单元-Service-接口
 * @author wdj
 *
 */
public interface PromotionUnitService {
 	public void delete(PromotionUnit entity);
 	
 	public Integer save(PromotionUnit entity);
 	
 	public void saveOrUpdate(PromotionUnit entity);
 	
 	/**
 	 * 批量新增
 	 * @param entitys
 	 */
 	public void batchSave(List<PromotionUnit> entitys);

 	/**
 	 * 判断推广单元是否已存在
 	 * @param unitName 推广单元名称
 	 * @return true:存在，false：不存在
 	 */
 	public Boolean ifExistPromotionUnit(String unitName);
}
